Rating and Generating Sudoku Puzzles Based On Constraint Satisfaction Problems
نویسنده
چکیده
Sudoku is a logic-based combinatorial puzzle game which people in different ages enjoy playing it. The challenging and addictive nature of this game has made it a ubiquitous game. Most magazines, newspapers, puzzle books, etc. publish lots of Sudoku puzzles every day. These puzzles often come in different levels of difficulty so that all people, from beginner to expert, can play the game and enjoy it. Generating puzzles with different levels of difficulty is a major concern of Sudoku designers. There are several works in the literature which propose ways of generating puzzles having a desirable level of difficulty. In this paper, we propose a method based on constraint satisfaction problems to evaluate the difficulty of the Sudoku puzzles. Then we propose a hill climbing method to generate puzzles with different levels of difficulty. Whereas other methods are usually capable of generating puzzles with only few number of difficulty levels, our method can be used to generate puzzles with arbitrary number of different difficulty levels. We test our method by generating puzzles with different levels of difficulty and having a group of 15 people solve all the puzzles and recording the time they spend for each puzzle. Keywords—Constraint satisfaction problem, generating Sudoku puzzles, hill climbing.
منابع مشابه
New Developments in Artificial Intelligence and the Semantic Web
This paper discusses solving and generating Sudoku puzzles with evolutionary algorithms. Sudoku is a Japanese number puzzle game that has become a worldwide phenomenon. As an optimization problem Sudoku belongs to the group of combinatorial problems, but it is also a constraint satisfaction problem. The objective of this paper is to test if genetic algorithm optimization is an efficient method ...
متن کاملRating Logic Puzzle Difficulty Automatically in a Human Perspective
Logic puzzle games like Sudoku are getting popular for they are flexible in playing time and space and are useful in education. For puzzles, difficulty is arguably one of the most important factors in problem design. A problem too easy is boring, yet a problem too hard is frustrating. Providing problems with adequate difficulty to avoid boredom or anxiety is thus an important issue. In this pap...
متن کاملDifficulty Rating of Sudoku Puzzles by a Computational Model
We discuss and evaluate metrics for difficulty rating of Sudoku puzzles. The correlation coefficient with human performance for our best metric is 0.95. The data on human performance were obtained from three web portals and they comprise thousands of hours of human solving over 2000 problems. We provide a simple computational model of human solving activity and evaluate it over collected data. ...
متن کاملGenerating and Solving Logic Puzzles through Constraint Satisfaction
Solving logic puzzles has become a very popular past-time, particularly since the Sudoku puzzle started appearing in newspapers all over the world. We have developed a puzzle generator for a modification of Sudoku, called Jidoku, in which clues are binary disequalities between cells on a 9× 9 grid. Our generator guarantees that puzzles have unique solutions, have graded difficulty, and can be s...
متن کاملHuman Problem Solving : Sudoku Case Study ∗
We discuss and evaluate metrics for difficulty rating of Sudoku puzzles. The correlation coefficient with human performance for our best metric is 0.95. The data on human performance were obtained from three web portals and they comprise thousands of hours of human solving over 2000 problems. We provide a simple computational model of human solving activity and evaluate it over collected data. ...
متن کامل